package com.whminwei.edu.api.tchbase.dto.fspn;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 人培方案基本信息列表
 *
 * @author wangy
 * @since 2024/4/26
 */
@Data
public class BasicEduSchemeFspn {


    @JsonValue
    private List<BasicEduSchemeBo> eduSchemeBoList;

    public BasicEduSchemeFspn() {
    }

    @JsonCreator
    public BasicEduSchemeFspn(List<BasicEduSchemeBo> eduSchemeBoList) {
        this.eduSchemeBoList = eduSchemeBoList;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class BasicEduSchemeBo {
        /**
         * 人培方案id
         */
        private String eduSchemeId;
        /**
         * 就业方向
         */
        private String direction;
        /**
         * 年级
         */
        private int year;
        /**
         * 培养模式
         */
        private List<String> modes;
        /**
         * 专业id
         */
        private String majorId;
    }

}
